package com.ruoyi.finance.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.finance.domain.KltPurchaseBatch;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (KltPurchaseBatch)表数据库访问层
 *
 * @author makejava
 * @since 2024-12-19 12:18:03
 */
public interface KltPurchaseBatchDao extends BaseMapper<KltPurchaseBatch> {


    List<KltPurchaseBatch> selectBySales(Integer salesOrderId);

    Integer InsertPurchaseBatchSalesOrder(@Param("purchaseId") Integer purchaseId,@Param("salesOrderId") Integer salesOrderId);
}

